library(sparklyr) # R Interface to Apache Spark
spark_install() # Install Apache Spark
sc <- spark_connect(master = "local") # Connect to Spark clusterArrow is a cross-language development platform for in-memory data.
Then use Arrow with Spark and R: